package com.youlai.boot.modules.distribution.dto.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 趋势数据响应VO
 * 
 * @author xiheforever
 * @since 2025-06-05
 */
@Schema(description = "趋势数据响应VO")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TrendDataResponseVO {

    @Schema(description = "趋势数据列表")
    private List<TrendDataPointVO> data;

    @Schema(description = "趋势数据点VO")
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class TrendDataPointVO {

        @Schema(description = "日期", example = "2025-06-05")
        private String date;

        @Schema(description = "成交金额(万元)", example = "1256.78")
        private BigDecimal transactionAmount;

        @Schema(description = "品牌数量", example = "156")
        private Integer brandCount;

        @Schema(description = "转化率(%)", example = "15.67")
        private BigDecimal conversionRate;
    }
} 